package com.biz.primus.commodity.vo.frontend;

import com.biz.primus.commodity.vo.frontend.interfaces.AbstractProductReqVo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 关联商品请求Vo
 *
 * @author david-liu
 * @date 2017年02月16日
 * @reviewer
 */
@Data
public class RelevantProductReqVo extends AbstractProductReqVo {
    private static final long serialVersionUID = 7849915961260147218L;

    /**
     * 区域ID
     */
    private Long geoId;

    /**
     * 门店Id 兼容快喝
     */
    private Long depotId;

    /**
     * 门店编码
     */
    private String depotCode;

    /**
     * 省仓门店编码
     */
    private String warehouseDepotCode;

    @ApiModelProperty("门店经度")
    private BigDecimal depotLon;

    @ApiModelProperty("门店纬度")
    private BigDecimal depotLat;

    @ApiModelProperty("用户经度")
    private BigDecimal userLon;

    @ApiModelProperty("用户纬度")
    private BigDecimal userLat;

    /**
     * 用户等级
     */
    private Integer userLevel = 1;

    /**
     * 商品编码
     */
    private String productCode;

    @Override
    public Long getShopId() {
        return null;
    }

    @Override
    public boolean isValid() {
        return true;
    }
}
